package com.younion.business;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import com.younion.common.exception.BaseException;
import com.younion.common.paginator.Paginator;

import com.younion.vo.*;

public interface IRegioninfoService {
	public Collection getAll() throws Exception;

	public RegioninfoVO getById(String id) throws Exception;

	public List<RegioninfoVO> getAllProvince() throws Exception;

	public Collection getByMap(Map paramMap) throws BaseException;

	public int getCountByMap(Map paramMap) throws BaseException;

	public List get(Map paramMap, Paginator paginator) throws Exception;

	public RegioninfoVO save(RegioninfoVO voObject) throws Exception;

	public Collection save(Collection voList) throws Exception;

	public boolean remove(List ids) throws Exception;

	public boolean removeByMap(Map paramMap) throws Exception;
	public void insertVos(List<String[]> txtDataList) throws Exception;

	public List<RegioninfoVO> getRegionByIds(List list) throws Exception;
	
	public Collection getServiceAreaByMap(Map paramMap) throws BaseException;

}